package com.ynet.middleground.riskmanage.bean.newrizhaogang;

import com.ynet.core.common.BaseReqObj;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * @author songyf
 * @description 控货查询指令
 * @date 2022-05-12 15:42
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "控货指令接收查询请求信息", description = "控货指令接收查询请求信息")
public class NewRzgControlCargoQueryReq extends BaseReqObj{

    private static final long serialVersionUID = -7086576685077627732L;

    @ApiModelProperty(value = "控货指令id/控货解除指令id", notes = "控货指令id/控货解除指令id", required = true)
    @NotBlank(message = "控货指令id/控货解除指令id不能为空")
    private String ctrlid;

    @ApiModelProperty(value = "系统标志(0:日照港1:青岛港前湾港2:烟台港)", notes = "系统标志(0:日照港1:青岛港前湾港2:烟台港)", required = true)
    @NotBlank(message = "系统标志不能为空")
    private String chanType;
}
